import request from '@/request/index.js';

export function getBannerList(type) {
	return request.get({
		url: '/app-api/hospital/banner/list',
		params: {type:type},
		custom: {
			title: "获取Banner",
			authentication: true
		}
	});
}

export function getBanner(id) {
	return request.get({
		url: '/app-api/hospital/banner/get',
		params: {id:id},
		custom: {
			title: "获取Banner内容",
			authentication: true
		}
	});
}
